package com.zws.cucumber.optimization.socket.connector;

import java.nio.ByteBuffer;
import java.util.concurrent.TimeUnit;

@FunctionalInterface
public interface ZwsConnectorAdaptor {

    Object getResponse(ByteBuffer requestBuffer, boolean head, long time, TimeUnit unit) throws Exception;

}
